package com.taobao.ued.toy.dao;


import com.taobao.ued.toy.domain.Designer;
import com.taobao.ued.toy.domain.FollowRelation;

import java.util.List;

public interface FollowRelationDao {

	public void acknowledgement(FollowRelation d) throws Exception;

	public void add(FollowRelation d) throws Exception;

	public void delete(FollowRelation d) throws Exception;

	public int getFollowersCount(String followingId) throws Exception;

	public int getFollowingsCount(String designerId) throws Exception;


	public int getNotAckFollowersCount(String followingId) throws Exception;

	public List<Designer> getNotAckFollowers(String followingId, int start, int end) throws Exception;


	public List<Designer> getFollowers(String followingId, int start, int end) throws Exception;

	public List<Designer> getFollowings(String designerId, int start, int end) throws Exception;
}
